<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 frameset//EN" "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3c.org/1999/xhtml">
<head>
<title>CHEditor</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type="text/javascript" language="javascript">
var oEditor = parent.chutil.oname;
function popupClose() {
    eval('parent.'+oEditor).popupWinClose();
}
function doInsertImage(imgurl, align, braz) {
    var img = document.createElement('img');
    img.src = imgurl;
    img.align = align;
    if (braz) img.alt = 'break';
    eval('parent.'+oEditor).doInsertImage(img);
}
function insertImage() {
    var el = insert_form.document.getElementById('fm_insert_image');
    var fm_align = insert_form.document.getElementById('fm_align').alignment;
    var align = 'top';
    var braz = false;

    for (i=0;i<fm_align.length; i++) {
        if (fm_align[i].checked) {
            align = fm_align[i].value;
            if (align == 'break') {
                align = 'top';
                braz = true;
            }
            break;
        }
    }
    for (i=0; i<el.length; i++) {
        doInsertImage(el.options[i].value, align, braz);
    }
    popupClose();
}
</script>
</head>
<frameset rows="*,0" frameborder="no" border="0" framespacing="0">
<frame src="insert_image_form.html" name="insert_form" scrolling="no" />
<frame src="" name="do_action" />
</frameset>
<noframes>
<body>
여러분의 브라우저가 프레임셋을 지원해야 합니다.
</body>
</noframes>
</html>
